<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>04_创建数组-方法1</title>
    </head>
    <body>
        <script>
            var arr = new Array();
            console.log(arr);
            arr[0] = 'YSL';
            arr[1] = 'dior';
            arr[2] = 'TF';
            arr[3] = '香奈儿';

            console.log(arr);
        </script>
    </body>
</html>